﻿@using Carer.View
@{
    ViewBag.Title = "用户管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="list" class="view">
    <div class="query">
        <ul class="tool">
            <li><button class="add btn btn-default"><span class="add"></span>增 加</button></li>
            <li><button class="delete btn btn-default"><span class="delete"></span> 删 除</button></li>

        </ul>

        <form action="">
            <ul>
                <li><label>用户名</label><input name="Name" type="text" class="form-control" /></li>
                <li><button class="query btn btn-primary"><i class="fa fa-search fa-lg"></i> 查 询</button></li>
            </ul>
        </form>
    </div>
    <div class="list">
        <table class="list">
            <thead>
                <tr>
                    <th><input class="selall" type="checkbox" /></th>
                    <th>序号</th>
                    <th>用户名</th>
                    <th>角色</th>
                    <th>所属权限</th>
                    <th class="action">操作</th>
                </tr>
            </thead>
            <tbody></tbody>
        </table>
    </div>
    <div class="jpager"></div>
</div>
<div id="edit" class="view edit">
    <div class="title"><span>用户信息</span></div>
    <form id="editForm" action="">
        <input id="Id" name="Id" type="hidden" />
        <table>
            <tr>
                <td class="title"><font color="red">*</font> 用户名：</td>
                <td class="content">
                    <input id="Name" name="Name" class="form-control" type="text" />
                </td>
            </tr>
            <tr>
                <td class="title"><font color="red">*</font> 密码：</td>
                <td class="content">
                    <input id="Password" name="Password" class="form-control" type="password" />
                </td>
            </tr>
            <tr>
                <td class="title"><font color="red">*</font> 再次密码：</td>
                <td class="content">
                    <input id="PassAgain" name="PassAgain" class="form-control" type="password" />
                </td>
            </tr>
            <tr>
                <td class="title"><font color="red">*</font> 角色：</td>
                <td class="content">
                    <select id="Role" name="Role" class="form-control">
                        <option value="0">平台管理员</option>
                        <option value="1">单位管理员</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="title"><font color="red">*</font> 所属权限：</td>
                <td class="content">
                    <select id="UnitId" name="UnitId" class="form-control">
                        <option value="">所有单位</option>
                        <option value="4">妇产科医院-黄浦</option>
                        <option value="3">妇产科医院-杨浦</option>
                        <option value="5">金山医院</option>
                        <option value="1">华山北院</option>
                        <option value="6">公卫</option>
                        <option value="7">一妇婴东院</option>
                        <option value="2">新起点康复医院</option>
                    </select>
                </td>
            </tr>
        </table>
        <p class="submit">
            <button class="save btn btn-success" type="submit"><i class="fa fa-save fa-lg"></i> 保 存</button>
            <button class="cancel btn btn-danger"><i class="fa fa-close fa-lg"></i> 取 消</button>
        </p>
    </form>
</div>
@section Scripts {
    @Scripts.Render("~/Content/Common/util.js?v=" + MvcApplication.TimeStamp)
    @Scripts.Render("~/Content/Config/user.js?v=" + MvcApplication.TimeStamp)
}


